// author: shelman
// description：定义到出库的宏定义
#pragma once


#include <stdlib.h>
#include <stdint.h>

//定义导出库
#if defined(WIN32) || defined(WIN64) || defined(_WIN32) || defined(_WIN64)
#ifdef __cplusplus
#define API_EXPORT_DECL __declspec(dllexport)
#else
#define API_EXPORT_DECL extern "C" __declspec(dllexport)
#endif
#else
#ifdef __cplusplus
#define API_EXPORT_DECL __attribute__((visibility("default")))
#else
#define API_EXPORT_DECL extern "C"
#endif
#endif
